﻿/**
 *
 * @file    FITKAFLRDriverInterface
 * @brief   注册接口
 * @author  WangKai (aurora_starry@outlook.com)
 * @date    2024-08-22
 *
 */
#ifndef FITKAFLRINTERFACE_H
#define FITKAFLRINTERFACE_H

#include "FITKAFLRDriverAPI.h"
#include "FITK_Kernel/FITKAppFramework/FITKComponentInterface.h"

namespace AppFrame
{
    class FITKExecProgramDriver;
}

namespace AFLRDriver
{

    class FITKAFLRDriverAPI FITKAFLRInterface : public AppFrame::FITKComponentInterface
    {
    public:
        explicit FITKAFLRInterface();
        virtual ~FITKAFLRInterface();

        /**
         * @brief   初始化，创建完成之后自动化调用
         * @author  WangKai (aurora_starry@outlook.com)
         * @date    2024-08-22
         */
        void init() override;

        /**
         * @brief   获取部件名称#include <cstring>
         * @return  部件名称
         * @author  WangKai (aurora_starry@outlook.com)
         * @date    2024-08-22
         */
        QString getComponentName() override;

    private:
        /**
        * @brief   进程ID
        * @author  WangKai (aurora_starry@outlook.com)
        * @date    2024-07-25
        */
        qint64 _processId = -1;
    };
}

#endif // FITKAFLRDRIVER_H

